package cn.huijielong.modules.group.dao;

import cn.huijielong.common.utils.Query;
import cn.huijielong.modules.group.entity.OrderEntity;
import cn.huijielong.modules.sys.dao.BaseDao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author xys
 * @email xys@gmail.com
 * @date 2019-07-03 22:46:43
 */
@Mapper
public interface OrderDao extends BaseDao<OrderEntity> {
	List<Query> queryListByGroup(Long groupId);
	List<Query> queryOrders(Query q);
	int saveOrderLog(Query q);
	List<String> queryOrderLogDesc(Long orderId);
	int checkAuth(@Param("userId") Long userId,@Param("orderId") Long orderId);
	OrderEntity queryByOrderNo(String orderNo);
}
